package j04baozhuang;

public class J1int {
    public static void main(String[] args) {
        Integer i1 = new Integer(3);
        System.out.println("i1 = " + i1);

        byte b1 = i1.byteValue();
        System.out.println("b1 = " + b1);

        System.out.println(Integer.sum(3,4));//7
        System.out.println(Integer.min(3,4));//3

        System.out.println(Integer.MAX_VALUE);
        System.out.println(Integer.MIN_VALUE);
        System.out.println("====");
        byte b99 = 88;
        Byte b100 = new Byte(b99);
        Byte b101 = new Byte("3");
    }
}

class J2char{
    public static void main(String[] args) {
        Character c1 = new Character('a');
        System.out.println(c1.charValue());

        System.out.println(Character.isDigit(c1));//false

        System.out.println("====");
        Boolean b1 = new Boolean(true);
        Boolean b2 = new Boolean("true");
        Boolean b3 = new Boolean("true1");
        System.out.println("b1 = " + b1);
        System.out.println("b2 = " + b2);
        System.out.println("b3 = " + b3);
    }
}
